package StudySpringBoot6;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync //开启异步注解功能
@SpringBootApplication
@EnableScheduling  //开启基于注解的定时任务
public class StudySpringBoot6Application {

    public static void main(String[] args) {
        SpringApplication.run(StudySpringBoot6Application.class, args);
    }

}
